check if passed argument is null