'Validate question, depending on question type and parameters'

@api.multi
def validate_question(self, post, answer_tag):

    self.ensure_one()
    try:
        checker = getattr(self, ('validate_' + self.type))
    except AttributeError:
        _logger.warning((self.type + ':    This    type    of    question    has    no    validation    method'))
        return {}
    else:
        return checker(post, answer_tag)
