Should this be a hasattr() call?