private boolean isExistingEmulator( IDevice device )
    {
        return ( ( device.getAvdName() != null ) && ( device.getAvdName().equalsIgnoreCase( parsedAvd ) ) );
    }
private boolean isExistingEmulator( IDevice device )
    {
        return ( ( device.getAvdName() != null ) && ( device.getAvdName().equalsIgnoreCase( parsedAvd ) ) );
    }
private boolean isExistingEmulator ( IDevice device ) { return ( ( device . getAvdName ( ) != null ) && ( device . getAvdName ( ) . equalsIgnoreCase ( parsedAvd ) ) ) ; }
Checks whether the given device has the same AVD name as the device which the current command
is related to. <code>true</code> returned if the device AVD names are identical (independent of case)
and <code>false</code> if the device AVD names are different.

@param device The device to check
@return Boolean results of the check
Checks whether the given device has the same AVD name as the device which the current command is related to . <code > true< / code > returned if the device AVD names are identical ( independent of case ) and <code > false< / code > if the device AVD names are different .