Human: Can you show me a Python function to if an element is not in a list. Assistant: 
Here is a Python function to determine if an element is not in a list

import random

def _is_not_in_list(element, list):
        """Check if element is in a list."""
        for item in list:
            if element == item:
                return False
        return True

# Enter the element
element = "hello"

# Enter the list
list = ["hello", "world"]

# Calling the function
print((_is_not_in_list(element, list)))

#Example Output
# False

#Remember to inspect code for bugs.