protected function canBind(Authenticatable $user) : bool
    {
        return array_key_exists(HasLdapUser::class, class_uses_recursive($user)) && is_null($user->ldap);
    }
protected function canBind(Authenticatable $user) : bool
    {
        return array_key_exists(HasLdapUser::class, class_uses_recursive($user)) && is_null($user->ldap);
    }
protected function canBind ( Authenticatable $ user ) : bool { return array_key_exists ( HasLdapUser :: class , class_uses_recursive ( $ user ) ) && is_null ( $ user -> ldap ) ; }
Determines if we're able to bind to the user.

@param Authenticatable $user

@return bool
Determines if we re able to bind to the user .