if self.data is an instance of datetime.datetime and result of the function is_aware called with an argument self.data evaluates to true,
if isinstance ( self . data , datetime . datetime ) and is_aware ( self . data ) :