original_string: public function read_option(string $id_option = null): ?bool
    {
      if ( bbn\str::is_uid($id_option) ){
        $root = self::get_option_id('options');
        $id_to_check = $this->opt->from_code('opt'.$id_option, $root);
        return $this->has($id_to_check, 'options');
      }
      return null;
    }
code: public function read_option(string $id_option = null): ?bool
    {
      if ( bbn\str::is_uid($id_option) ){
        $root = self::get_option_id('options');
        $id_to_check = $this->opt->from_code('opt'.$id_option, $root);
        return $this->has($id_to_check, 'options');
      }
      return null;
    }
code_tokens: public function read_option ( string $ id_option = null ) : ? bool { if ( bbn \ str :: is_uid ( $ id_option ) ) { $ root = self :: get_option_id ( 'options' ) ; $ id_to_check = $ this -> opt -> from_code ( 'opt' . $ id_option , $ root ) ; return $ this -> has ( $ id_to_check , 'options' ) ; } return null ; }
docstring: Checks if the category represented by the given option ID is readable by the current user
  
  @param string|null $id_option
  @return bool|null
docstring_tokens: Checks if the category represented by the given option ID is readable by the current user