input: Write a python function to check if one string is a substring of another.
  assert is_substring("test", "this is a test") == True
  assert is_substring("hello", "world") == False
  assert is_substring("part", "participate") == True
output: def is_substring(sub, string):
      return sub in string