protected function isUploadModuleAvailable()
    {
        if ($this->isUploadModuleAvailable === null) {
            $this->isUploadModuleAvailable =    false !== $this->getUploadModule()
                                            &&  app()->bound(FileRepositoryInterface::class);
        }

        return $this->isUploadModuleAvailable;
    }
protected function isUploadModuleAvailable()
    {
        if ($this->isUploadModuleAvailable === null) {
            $this->isUploadModuleAvailable =    false !== $this->getUploadModule()
                                            &&  app()->bound(FileRepositoryInterface::class);
        }

        return $this->isUploadModuleAvailable;
    }
protected function isUploadModuleAvailable ( ) { if ( $ this -> isUploadModuleAvailable === null ) { $ this -> isUploadModuleAvailable = false !== $ this -> getUploadModule ( ) && app ( ) -> bound ( FileRepositoryInterface :: class ) ; } return $ this -> isUploadModuleAvailable ; }
Returns whether the upload module is loaded.

@return bool
Returns whether the upload module is loaded .