public function onGracePeriod(): bool
    {
        if (!is_null($endAt = $this->ends_at)) {
            return Carbon::now()->lt(Carbon::instance($endAt));
        } else {
            return false;
        }
    }
public function onGracePeriod(): bool
    {
        if (!is_null($endAt = $this->ends_at)) {
            return Carbon::now()->lt(Carbon::instance($endAt));
        } else {
            return false;
        }
    }
public function onGracePeriod ( ) : bool { if ( ! is_null ( $ endAt = $ this -> ends_at ) ) { return Carbon :: now ( ) -> lt ( Carbon :: instance ( $ endAt ) ) ; } else { return false ; } }
Determine if the subscription is within its grace period after cancellation.

@return bool
Determine if the subscription is within its grace period after cancellation .