@staticmethod
def _contains_vars(data):
    """
        returns True if the data contains a variable pattern
        """
    if isinstance(data, str):
        for marker in ('{%', '{{', '{#'):
            if marker in data:
                return True
    return False
