Fixed hasattr but