protected function checkFileUploadWithSessionGuard($id)
    {
        $guard = $this->getFileUploadSesssionGuard();

        return ! $guard->enabled() || $guard->check($id);
    }
protected function checkFileUploadWithSessionGuard($id)
    {
        $guard = $this->getFileUploadSesssionGuard();

        return ! $guard->enabled() || $guard->check($id);
    }
protected function checkFileUploadWithSessionGuard ( $ id ) { $ guard = $ this -> getFileUploadSesssionGuard ( ) ; return ! $ guard -> enabled ( ) || $ guard -> check ( $ id ) ; }
Returns whether file upload is allowed to be used within this session.

@param int $id
@return bool
Returns whether file upload is allowed to be used within this session .