Reflection
Reflection is the ability to modify an object's own properties at runtime.
Python Example
# Define a function that implements reflection to validate the type of a value. def is_valid_type(value): if type(value) is int or type(value) is str: return True else: return False # Use the function. is_valid_type(10)