Returns true if the RoleAssignment is equal to the role given, ignoring the permissions and the category.