Added doesEntityHaveRole