check if Struct::Stat is defined