def METHOD_NAME(self) -> bool:
    """This method checks whether the given user has an admin role.
    This can be extended to groups as well for example a user belonging to
    certain group has only those privileges that are assigned to the
    group.
    Returns:
        True if the user's role is ADMIN, False otherwise.
    """
    return Roles.ADMIN.name in self.roles