It should be safe enough, this is well documented by Apple.
This is just a shorthand for the following code:
if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPad) {
Perhaps this may happen with an error if you try to run it on something smaller than iOS 3.2 (as it was introduced then), but it may not be a problem for you.
source share