original_string: public function isEmpty($property)
      {
          $value = $this->get($property);
          if ($value === null
              || (is_array($value) && empty($value)
              || (is_string($value) && empty($value)))
          ) {
              return true;
          }
  
          return false;
      }
code: public function isEmpty($property)
      {
          $value = $this->get($property);
          if ($value === null
              || (is_array($value) && empty($value)
              || (is_string($value) && empty($value)))
          ) {
              return true;
          }
  
          return false;
      }
code_tokens: public function isEmpty ( $ property ) { $ value = $ this -> get ( $ property ) ; if ( $ value === null || ( is_array ( $ value ) && empty ( $ value ) || ( is_string ( $ value ) && empty ( $ value ) ) ) ) { return true ; } return false ; }
docstring: Checks that a property is empty
  
  This is not working like the PHP `empty()` function. The method will
  return true for:
  
  - `''` (empty string)
  - `null`
  - `[]`
  
  and false in all other cases.
  
  @param string $property The property to check.
  @return bool
docstring_tokens: Checks that a property is empty