code: def test_is_key():
      """A key is anything that starts with a dash; nothing else!"""
      assert ua.is_key("--face")
      assert ua.is_key("-f")
      assert not ua.is_key("")
      assert not ua.is_key("face")
      assert not ua.is_key("f")
  
      # this should never happen, but what the heck, why not test that it's a
      # fine thing, accepted yet strange.
      assert ua.is_key("-----face")
  
imports: from collections import OrderedDict
  import caliban.util.argparse
label_desc: Use image node_id 2 for calling a global function with example usage: test_is_key() without return types