'return False if any of \'taskid\', \'project\', \'url\' is not in task dict
or project in not in task_queue'

def task_verify(self, task):

    for each in ('taskid', 'project', 'url'):
        if ((each not in task) or (not task[each])):
            logger.error('%s    not    in    task:    %.200r', each, task)
            return False
    if (task['project'] not in self.projects):
        logger.error('unknown    project:    %s', task['project'])
        return False
    project = self.projects[task['project']]
    if (not project.active):
        logger.error('project    %s    not    started,    please    set    status    to    RUNNING    or    DEBUG', task['project'])
        return False
    return True
