Does the following definition of harassment have any legal basis?
The gym’s dignity and inclusion policy states:
“Harassment is a form of unlawful discrimination. It is unwanted conduct related to a protected characteristic which includes sex, gender reassignment (or transgender status), race (which includes colour, nationality and ethnic or national origins), disability, sexual orientation, religion or belief, marriage and civil partnership, pregnancy or maternity and age. This unwanted conduct either has the purpose of, or is reasonably considered by the person on the receiving end to have the effect of violating their dignity or otherwise creating an intimidating, hostile, degrading, humiliating or offensive environment.”
Is this definition consistent with the legal definition of harassment, and what is the basis in law?