Check for Decl validity and skip if invalid