src/bbn/user/preferences.php
public function has(string $id_option = null, bool $force = false): bool
  {
    if ( !$force && $this->user->is_dev() ){
      return true;
    }
    return (bool)$this->retrieve_ids($id_option);
  }
public function has(string $id_option = null, bool $force = false): bool
  {
    if ( !$force && $this->user->is_dev() ){
      return true;
    }
    return (bool)$this->retrieve_ids($id_option);
  }
public function has ( string $ id_option = null , bool $ force = false ) : bool { if ( ! $ force && $ this -> user -> is_dev ( ) ) { return true ; } return ( bool ) $ this -> retrieve_ids ( $ id_option ) ; }
Returns true if the current user can access a preference, false otherwise

@param string|null $id_option
@param bool $force
@return bool
Returns true if the current user can access a preference false otherwise