test.support.os_helper.can_xattr()

Return True if the OS supports xattr, False otherwise.

Related Reading

test — Regression tests package for Python