(PSP) Check if input and input_data points to something in
graphics init function