If you are talking about naming conventions, then in Python both are usually lowercase.
If you talk about how to tell each other,
from collections import Callable, Container if isinstance(attribute, Callable): return attribute() elif isinstance(attribute, str): return attribute elif isinstance(attribute, Container): return 'Yes' if 'Blah' in attribute else: return str(attribute)
is how you check if a variable is specified for a particular type of object
source share