"A person is required to obtain a license and is subject to subsequent fees whenever a license is required for the maintenance, operation or conduct of any business or establishment, or for doing business or engaging in any activity or occupation, actively or passively; or performs or attempts to perform any part of such business or occupation in the city."