original_string: public function is_available_for_all() {
          if (is_null($this->availability)) {
              return true;
          } else {
              try {
                  return $this->get_availability_tree()->is_available_for_all();
              } catch (\coding_exception $e) {
                  $this->warn_about_invalid_availability($e);
                  return false;
              }
          }
      }
code: public function is_available_for_all() {
          if (is_null($this->availability)) {
              return true;
          } else {
              try {
                  return $this->get_availability_tree()->is_available_for_all();
              } catch (\coding_exception $e) {
                  $this->warn_about_invalid_availability($e);
                  return false;
              }
          }
      }
code_tokens: public function is_available_for_all ( ) { if ( is_null ( $ this -> availability ) ) { return true ; } else { try { return $ this -> get_availability_tree ( ) -> is_available_for_all ( ) ; } catch ( \ coding_exception $ e ) { $ this -> warn_about_invalid_availability ( $ e ) ; return false ; } } }
docstring: Checks whether this activity is going to be available for all users.
  
  Normally, if there are any conditions, then it may be hidden depending
  on the user. However in the case of date conditions there are some
  conditions which will definitely not result in it being hidden for
  anyone.
  
  @return bool True if activity is available for all
docstring_tokens: Checks whether this activity is going to be available for all users .