'Check if this path looks like a Cactus website'

def verify_path(self):

    required_subfolders = ['pages', 'static', 'templates', 'plugins']
    if (self.locale is not None):
        required_subfolders.append('locale')
    for p in required_subfolders:
        if (not os.path.isdir(os.path.join(self.path, p))):
            logger.error('This    does    not    look    like    a    (complete)    cactus    project    (missing    "%s"    subfolder)', p)
            sys.exit(1)
