contains
Extension function to check if a File is within a CharRange.
Return
true if the file is within the range, false otherwise.
Parameters
file
The File to check.
Extension function to check if a Rank is within an IntRange.
Return
true if the rank is within the range, false otherwise.
Parameters
rank
The Rank to check.