Check required arguments are present