'Determines if the template is actually a Django template.
Arguments:
mako_template: The template code.
Returns:
True if this is really a Django template, and False otherwise.'

def _is_django_template(self, mako_template):

    if (re.search('({%.*%})|({{.*}})', mako_template) is not None):
        return True
    return False
