utils.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:iotronic 作者: openstack 项目源码 文件源码
def is_valid_name(name):
    """Determine if the provided name is a valid name.

    Check to see that the provided board name isn't a UUID.

    :param: name: the board name to check.
    :returns: True if the name is valid, False otherwise.
    """
    return not uuidutils.is_uuid_like(name)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号