Check for method getRoles