Check if mem if allocated with an allocator for mem_type.
a memory type
TRUE if mem was allocated from an allocator for mem_type.
1.2
Check if mem if allocated with an allocator for mem_type.