Is gratuity a law?

Can you answer this question?