Can a US Customs and Border Protection officer check the contents of?
yes if you are entering the u.s. they can and do on a regular basis. Is usually done and what they call a secondary inspection where they will search your personal belongings including your vehicle if you're driving one. If you refuse there request you can be denied entry into the United States