public function isEnded()
    {
        $endsAt = Carbon::instance($this->ends_at);

        return Carbon::now()->gt($endsAt) or Carbon::now()->eq($endsAt);
    }
public function isEnded()
    {
        $endsAt = Carbon::instance($this->ends_at);

        return Carbon::now()->gt($endsAt) or Carbon::now()->eq($endsAt);
    }
public function isEnded ( ) { $ endsAt = Carbon :: instance ( $ this -> ends_at ) ; return Carbon :: now ( ) -> gt ( $ endsAt ) or Carbon :: now ( ) -> eq ( $ endsAt ) ; }
Check if subscription period has ended.

@return bool
Check if subscription period has ended .