original_string: protected function _toBoolean($value)
      {
          $value = strtolower((string)$value);
          $result = ($value != 'false')
                  && ($value != 'off')
                  && !empty($value);
  
          return $result;
      }
code: protected function _toBoolean($value)
      {
          $value = strtolower((string)$value);
          $result = ($value != 'false')
                  && ($value != 'off')
                  && !empty($value);
  
          return $result;
      }
code_tokens: protected function _toBoolean ( $ value ) { $ value = strtolower ( ( string ) $ value ) ; $ result = ( $ value != 'false' ) && ( $ value != 'off' ) && ! empty ( $ value ) ; return $ result ; }
docstring: Get boolean value
  
  @param string $value
  @return bool
docstring_tokens: Get boolean value