import re


def isValidModelname(name):
    """Returns if a name contains characters other than alphanumeric, '_' and '-'.
    Also, empyt strings are not valid model names.

    Args:
        name (str): potential name for a model

    Returns:
        bool -- True if the name is a valid model name according to convention, False if not.
    """
    return not re.search(r'[^A-Za-z0-9_\-\\]', name) and len(name) > 0