public function hasContent() {

    if (count($this->getCategories()) == 0) {
      return FALSE;
    }

    if (count($this->getAllChildren()) == 0) {
      return FALSE;
    }

    return TRUE;
  }
public function hasContent() {

    if (count($this->getCategories()) == 0) {
      return FALSE;
    }

    if (count($this->getAllChildren()) == 0) {
      return FALSE;
    }

    return TRUE;
  }
public function hasContent ( ) { if ( count ( $ this -> getCategories ( ) ) == 0 ) { return FALSE ; } if ( count ( $ this -> getAllChildren ( ) ) == 0 ) { return FALSE ; } return TRUE ; }
Returns if there are any taxonomy items available.

@return bool
If there are tags available.
Returns if there are any taxonomy items available .