public function hasSubscription($checkValidity = true)
    {
        if (!isset($this->_mixer->subscription)) {
            return false;
        }

        if ($checkValidity && $this->_mixer->subscription->getTimeLeft() <= 0) {
            return false;
        }

        return true;
    }
public function hasSubscription($checkValidity = true)
    {
        if (!isset($this->_mixer->subscription)) {
            return false;
        }

        if ($checkValidity && $this->_mixer->subscription->getTimeLeft() <= 0) {
            return false;
        }

        return true;
    }
public function hasSubscription ( $ checkValidity = true ) { if ( ! isset ( $ this -> _mixer -> subscription ) ) { return false ; } if ( $ checkValidity && $ this -> _mixer -> subscription -> getTimeLeft ( ) <= 0 ) { return false ; } return true ; }
Check if the person has subcription.

@param if true also check to see if the subscription hasn't expired yet

@return bool
Check if the person has subcription .