public function is_active() : bool {
        $active = [
            api::DATAREQUEST_STATUS_APPROVED => true,
        ];

        return isset($active[$this->get('status')]);
    }
public function is_active() : bool {
        $active = [
            api::DATAREQUEST_STATUS_APPROVED => true,
        ];

        return isset($active[$this->get('status')]);
    }
public function is_active ( ) : bool { $ active = [ api :: DATAREQUEST_STATUS_APPROVED => true , ] ; return isset ( $ active [ $ this -> get ( 'status' ) ] ) ; }
Whether this request is 'active'.

@return  bool
Whether this request is active .