is_mat

nrv.fmod.is_mat(mat)[source]

check if an object is a material, return True if yes, else False

Parameters:

mat (object) – object to test

Returns:

True it the type is a material object

Return type:

bool