alignCheck function

Check the validity of align