[flashrom-gerrit] Change in flashrom[staging]: layout: Add a function to check if numeric range is included