public function isBusinessEntityAllowed($formEntityName, View $view)
    {
        //the result
        $isBusinessEntityAllowed = false;

        if ($view instanceof BusinessTemplate || $view instanceof BusinessPage) {
            //are we using the same business entity
            if ($formEntityName === $view->getBusinessEntityId()) {
                $isBusinessEntityAllowed = true;
            }
        }

        return $isBusinessEntityAllowed;
    }