Is there a reason for this check? This bascially says "if self.reference_frame is False or None then raise an error. If I have a str stored as self.reference_frame then this check would pass.