Function scope align check