public static function is_active($status) {
        // List of statuses which doesn't require any further processing.
        $finalstatuses = [
            self::DATAREQUEST_STATUS_COMPLETE,
            self::DATAREQUEST_STATUS_CANCELLED,
            self::DATAREQUEST_STATUS_REJECTED,
            self::DATAREQUEST_STATUS_DOWNLOAD_READY,
            self::DATAREQUEST_STATUS_EXPIRED,
            self::DATAREQUEST_STATUS_DELETED,
        ];

        return !in_array($status, $finalstatuses);
    }
public static function is_active($status) {
        // List of statuses which doesn't require any further processing.
        $finalstatuses = [
            self::DATAREQUEST_STATUS_COMPLETE,
            self::DATAREQUEST_STATUS_CANCELLED,
            self::DATAREQUEST_STATUS_REJECTED,
            self::DATAREQUEST_STATUS_DOWNLOAD_READY,
            self::DATAREQUEST_STATUS_EXPIRED,
            self::DATAREQUEST_STATUS_DELETED,
        ];

        return !in_array($status, $finalstatuses);
    }
public static function is_active ( $ status ) { // List of statuses which doesn't require any further processing. $ finalstatuses = [ self :: DATAREQUEST_STATUS_COMPLETE , self :: DATAREQUEST_STATUS_CANCELLED , self :: DATAREQUEST_STATUS_REJECTED , self :: DATAREQUEST_STATUS_DOWNLOAD_READY , self :: DATAREQUEST_STATUS_EXPIRED , self :: DATAREQUEST_STATUS_DELETED , ] ; return ! in_array ( $ status , $ finalstatuses ) ; }
Determines whether a request is active or not based on its status.

@param int $status The request status.
@return bool
Determines whether a request is active or not based on its status .