Check for branch before proceeding.