src/Http/Middleware/ParsesServerRequests.php
protected function doesResourceExist(StoreInterface $store, $resourceType, $resourceId)
    {
        $identifier = ResourceIdentifier::create($resourceType, $resourceId);

        return $store->exists($identifier);
    }
protected function doesResourceExist(StoreInterface $store, $resourceType, $resourceId)
    {
        $identifier = ResourceIdentifier::create($resourceType, $resourceId);

        return $store->exists($identifier);
    }
protected function doesResourceExist ( StoreInterface $ store , $ resourceType , $ resourceId ) { $ identifier = ResourceIdentifier :: create ( $ resourceType , $ resourceId ) ; return $ store -> exists ( $ identifier ) ; }
Is the supplied resource type and id valid?

@param StoreInterface $store
@param $resourceType
@param $resourceId
@return bool
Is the supplied resource type and id valid?