def is_valid_app_id(app_id):
return valid_app_id.match(app_id)<EOL>
check if app identifier is valid.

    To restrict access a valid app is one with only a-z, A-Z, and '.'.
    It is possible to make this less restrictive using the regex above.

    :param app_id: Application identifier
    :returns: Valid or not