adds a method to to check if the segment is available on the server