hasattr(..,'cd') -> .has_cd()