[PATCH 06/16] add a function to check if an address is in RAM memory