Add boolean to check if readline can be imported in client