Can probably do `if callable(getattr(value, "copy", None)):` here.