all these gets can be replaced with `has`