original_string: public function subscribed()
  	{
  		if ($this->requiresCardUpFront()) {
  			return $this->braintreeIsActive() || $this->onGracePeriod();
  		}
  		else {
  			return $this->braintreeIsActive() || $this->onTrial() || $this->onGracePeriod();
  		}
  	}
code: public function subscribed()
  	{
  		if ($this->requiresCardUpFront()) {
  			return $this->braintreeIsActive() || $this->onGracePeriod();
  		}
  		else {
  			return $this->braintreeIsActive() || $this->onTrial() || $this->onGracePeriod();
  		}
  	}
code_tokens: public function subscribed ( ) { if ( $ this -> requiresCardUpFront ( ) ) { return $ this -> braintreeIsActive ( ) || $ this -> onGracePeriod ( ) ; } else { return $ this -> braintreeIsActive ( ) || $ this -> onTrial ( ) || $ this -> onGracePeriod ( ) ; } }
docstring: Determine if the entity has an active subscription.
  
  @return bool
docstring_tokens: Determine if the entity has an active subscription .