This functions returns 1 if the attribute may be virtual in the scope specified. Otherwise, it returns 0.