Created isnotphone function