added function to test if a prefix is part of the specified address space