def validVer(ver):
    """
    This helper function validates Android version code.
    It must be an integer but Google didn't say it must be positive only:
    https://developer.android.com/guide/topics/manifest/
        manifest-element.html#vcode
    """
    if ver is None or not isinstance(ver, int):
        return False
    else:
        return True