public static function isPast($timestamp, $leeway = 0)
    {
        $timestamp = static::timestamp($timestamp);

        return $leeway > 0
            ? $timestamp->addSeconds($leeway)->isPast()
            : $timestamp->isPast();
    }
public static function isPast($timestamp, $leeway = 0)
    {
        $timestamp = static::timestamp($timestamp);

        return $leeway > 0
            ? $timestamp->addSeconds($leeway)->isPast()
            : $timestamp->isPast();
    }
public static function isPast ( $ timestamp , $ leeway = 0 ) { $ timestamp = static :: timestamp ( $ timestamp ) ; return $ leeway > 0 ? $ timestamp -> addSeconds ( $ leeway ) -> isPast ( ) : $ timestamp -> isPast ( ) ; }
Checks if a timestamp is in the past.

@param  int  $timestamp
@param  int  $leeway

@return bool
Checks if a timestamp is in the past .