input: Write a python function to check if a namespace and its associated name in the state engine have specific properties.
  assert check(state_engine) == True
  assert check(state_engine) == False
output: def check(state_engine):
      namespace = "example_namespace"
      name = "example_name"
      
      if namespace in state_engine:
          if name in state_engine[namespace]:
              return True
      
      return False