Report question

Question: Is there a way in Java to determine if a path is valid without attempting to create a file?