Check for null material