We should have a policy "if missing" here to replace the hasattr statement _Originally posted by @simontaurus in https://github.com/OpenSemanticLab/osw-python/pull/66#discussion_r1787904618_