Fast and tiny utility to check argument types