have(): use 'type' for better compatibility